﻿using My.Core.DynamicWebApi.Attributes;
using Panda.DynamicWebApi;
using System.Reflection;

namespace My.Core.DynamicWebApi
{
	internal class ServiceLocalSelectController : ISelectController
	{
		public bool IsController(Type type)
		{
			return type.IsPublic && type.GetCustomAttribute<ServiceAttribute>() != null;
		}
	}
}
